package com.cmdi.service;

import com.cmdi.domain.SysRouteConf;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cmdi.exception.CustomCmdiAdminException;
import org.springframework.cloud.gateway.route.RouteDefinition;

public interface SysRouteConfService extends IService<SysRouteConf>{
    Boolean add(RouteDefinition route) throws CustomCmdiAdminException;
    Boolean del(String routeId) throws CustomCmdiAdminException;
    Boolean flush() throws CustomCmdiAdminException;
}
